<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
		<link href="../styles/css/css.css" rel="stylesheet" type="text/css"/>
		<link href="../styles/css/main.css" rel="stylesheet" type="text/css" />
		<link href="../styles/css/header.css" rel="stylesheet" type="text/css" />
		<link href="../styles/css/css.css" rel="stylesheet" type="text/css" />
        <link href="../styles/css/login_center.css" rel="stylesheet" type="text/css" />
        
</head>

<body>
<form action="login!fuzzySelec" method="post">
<div class="header">
			<div class="header_container">
				<div class="logo1">
					<img src="../images/imgs/logo1.gif" />
				</div>
                <div class="login_right">
                 <s:if test="#session.user.username == ''">
                <div class="login_users"><span class="text12b">您还未登陆!</span><span class="text12b"><a href="
     			../login/login.jsp">登陆</a></span></div>
                </s:if>
                
                <s:else>
                	<div class="login_users"><span class="text12b">登录者: ${sessionScope.user.username}</span><span class="text12b"><a href="login!loginOut.action">登出</a></span></div>
                   <div class="login_js"><span class="text12b">角色：${sessionScope.user.role.rnumber }</span></div>
                 </s:else>
                </div>
			</div>
		</div>
		
        <div class="nav_bg">
			<div class="nav">
            	<ul>
                   	<li><a href="../openaccount/openaccount.jsp">申请开户</a></li>
                    <li><a href="../recharges/usersall.jsp" >账户充值</a></li>
                    <li><a href="login!findRechUsersAll" >查询用户信息</a></li>
                    <li><a href="../account/account.jsp" >查询账单信息</a></li>
                </ul>
            </div>
 			
		</div>

<div class="tablebg">
  <div class="tablecell1"><span class="text1">用户名称</span></div>
  <div class="tablecell2"><input type="text" class="input2" name="title" style="width:100px" /></div>
  <div class="table_button"><img src="../images/imgs/button-reset.gif" /></div>
  <div class="table_button"><input type="submit" class="table_button_cx" value=""/></div>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="4" bgcolor="#4ac6f3"></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/imgs/bg17.gif">
      <tr>
        <td width="100" height="27" class="text5"><div align="center">用户名</div></td>
        <td width="2"><img src="imgs/bg18.gif" width="2" height="27" /></td>
        <td width="63" class="text5"><div align="center">密码</div></td>
        <td width="117" class="text5"><div align="center">公司名称</div></td>
        <td width="113" class="text5"><div align="center">地址</div></td>
        <td width="78" class="text5"><div align="center">联系人</div></td>
        <td width="95" class="text5"><div align="center">联系方式</div></td>
        <td width="68" class="text5"><div align="center">邮编</div></td>
        <td width="120" class="text5"><div align="center">创建时间</div></td>
        <td width="113" class="text5"><div align="center">修改时间</div></td>
        <td width="73" class="text5"><div align="center">代理人</div></td>
        <td width="60" class="text5"><div align="center">角色</div></td>
        <td width="2"><img src="imgs/bg18.gif" width="2" height="27" /></td>
        <td width="80" class="text5"><div align="center">操作</div></td>
      </tr>
    </table></td>
  </tr>

  <s:iterator var="uall" value="#session.userAll">
  <tr>
    <td onmouseover="style.backgroundColor='#fdfce9'" onmouseout="style.backgroundColor='#ffffff'" bgcolor="#FFFFFF"><table width="100%" style="text-align: center;" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="2"></td>
        <td width="101" height="27" class="text11"><s:property value="#uall.username"/></td>
        <td width="64" class="text5" style="max-height:64px" ><s:property value="#uall.password"/></td>
        <td width="117" class="text5"><s:property value="#uall.companyname"/></td>
        <td width="117" class="text5"><s:property value="#uall.address"/></td>
        <td width="79" class="text5"><s:property value="#uall.contact"/></td>
        <td width="98" class="text5"><s:property value="#uall.username"/></td>
        <td width="67" class="text5"><s:property value="#uall.username"/></td>
        <td width="122" class="text5"><s:property value="#uall.username"/></td>
        <td width="102" class="text5"><s:property value="#uall.createtime"/></td>
        <td width="73" class="text5"><s:property value="#uall.pdatetime"/></td>
        <td width="57" class="text5"><s:property value="#uall.username"/></td>

        <td width="1"></td>
        <td width="84" class="text11"><div align="center">删除</div></td>
      </tr>
    </table></td>
  </tr>
</s:iterator>

</table>
<div class="table_line"></div>
<div class="tablebg">
  <div class="table_button"><img src="../images/imgs/icon9.png" /></div>
  <div class="table_button"><input type="text" class="input2" style="width:20px" /></div>
  <div class="table_page"><span class="text1">共422条数据，显示43页，每页显示10条&nbsp;&nbsp;&nbsp;首页&nbsp;上一页&nbsp;下一页&nbsp;末页</span></div>
</div>
<div class="table_line"></div>
</form>
</body>
</html>
